# $Id: PKGBUILD 65865 2012-02-22 13:09:56Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-io-pager
pkgver=0.06
pkgrel=5
pkgdesc="Perl/CPAN Module IO::Pager"
arch=("any")
url="http://search.cpan.org/dist/IO-Pager/"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/J/JP/JPIERCE/IO-Pager-$pkgver.tgz")
md5sums=('dda54801e176089d9b93e05dc07324a4')

build() {
  cd $srcdir/IO-Pager-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
